Hệ thống hiệu sách thương mại điện tử

1 <?php
2 define(
'DB_HOST', 'localhost');
3 define(
'DB_NAME', 'book');
4 define(
'DB_USER','root');
5 define(
'DB_PASSWORD','');
6
7 $con=mysqli_connect(DB_HOST,DB_USER,DB_PASSWORD) or die(
"Failed to connect to MySQL: " . mysql_error());
8 $db=mysqli_select_db($con,DB_NAME) or die(
"Failed to connect to MySQL: " . mysql_error());
9 ?>


Gõ tìm kiếm nhanh...